Set up repo for NPM trusted publishing#294
Conversation
As trusted-publishing needs the latest version of npm, which is pulled in alongside node
…hed by jonathonherbert jonathonherbert published release version 37.0.1-PREVIEW.jshtrusted-publishing.2026-01-30T1243.b1661c2c using gha-scala-library-release-workflow: https://github.com/guardian/gha-scala-library-release-workflow Release-Version: 37.0.1-PREVIEW.jshtrusted-publishing.2026-01-30T1243.b1661c2c Release-Initiated-By: https://github.com/jonathonherbert Release-Workflow-Run: https://github.com/guardian/content-api-models/actions/runs/21516211137 Release-Notes: #294
|
@jonathonherbert has published a preview version of this PR with release workflow run #112, based on commit b1661c2: 37.0.1-PREVIEW.jshtrusted-publishing.2026-01-30T1243.b1661c2c Want to make another preview release?Click 'Run workflow' in the GitHub UI, specifying the jsh/trusted-publishing branch, or use the GitHub CLI command: gh workflow run release.yml --ref jsh/trusted-publishing Want to make a full release after this PR is merged?Click 'Run workflow' in the GitHub UI, leaving the branch as the default, or use the GitHub CLI command: gh workflow run release.yml |
46bea89 to
4a4de1e
Compare
…hed by jonathonherbert jonathonherbert published release version 37.0.1-PREVIEW.jshtrusted-publishing.2026-01-30T1443.4a4de1e0 using gha-scala-library-release-workflow: https://github.com/guardian/gha-scala-library-release-workflow Release-Version: 37.0.1-PREVIEW.jshtrusted-publishing.2026-01-30T1443.4a4de1e0 Release-Initiated-By: https://github.com/jonathonherbert Release-Workflow-Run: https://github.com/guardian/content-api-models/actions/runs/21519664646 Release-Notes: #294
|
@jonathonherbert has published a preview version of this PR with release workflow run #113, based on commit 4a4de1e: 37.0.1-PREVIEW.jshtrusted-publishing.2026-01-30T1443.4a4de1e0 Want to make another preview release?Click 'Run workflow' in the GitHub UI, specifying the jsh/trusted-publishing branch, or use the GitHub CLI command: gh workflow run release.yml --ref jsh/trusted-publishing Want to make a full release after this PR is merged?Click 'Run workflow' in the GitHub UI, leaving the branch as the default, or use the GitHub CLI command: gh workflow run release.yml |
…hed by jonathonherbert jonathonherbert published release version 37.0.1-PREVIEW.jshtrusted-publishing.2026-02-02T0958.7899d16f using gha-scala-library-release-workflow: https://github.com/guardian/gha-scala-library-release-workflow Release-Version: 37.0.1-PREVIEW.jshtrusted-publishing.2026-02-02T0958.7899d16f Release-Initiated-By: https://github.com/jonathonherbert Release-Workflow-Run: https://github.com/guardian/content-api-models/actions/runs/21585489651 Release-Notes: #294
|
@jonathonherbert has published a preview version of this PR with release workflow run #114, based on commit 7899d16: 37.0.1-PREVIEW.jshtrusted-publishing.2026-02-02T0958.7899d16f Want to make another preview release?Click 'Run workflow' in the GitHub UI, specifying the jsh/trusted-publishing branch, or use the GitHub CLI command: gh workflow run release.yml --ref jsh/trusted-publishing Want to make a full release after this PR is merged?Click 'Run workflow' in the GitHub UI, leaving the branch as the default, or use the GitHub CLI command: gh workflow run release.yml |
7899d16 to
823b7a0
Compare
…hed by jonathonherbert jonathonherbert published release version 37.0.1-PREVIEW.jshtrusted-publishing.2026-02-02T1025.823b7a0c using gha-scala-library-release-workflow: https://github.com/guardian/gha-scala-library-release-workflow Release-Version: 37.0.1-PREVIEW.jshtrusted-publishing.2026-02-02T1025.823b7a0c Release-Initiated-By: https://github.com/jonathonherbert Release-Workflow-Run: https://github.com/guardian/content-api-models/actions/runs/21586360110 Release-Notes: #294
|
@jonathonherbert has published a preview version of this PR with release workflow run #115, based on commit 823b7a0: 37.0.1-PREVIEW.jshtrusted-publishing.2026-02-02T1025.823b7a0c Want to make another preview release?Click 'Run workflow' in the GitHub UI, specifying the jsh/trusted-publishing branch, or use the GitHub CLI command: gh workflow run release.yml --ref jsh/trusted-publishing Want to make a full release after this PR is merged?Click 'Run workflow' in the GitHub UI, leaving the branch as the default, or use the GitHub CLI command: gh workflow run release.yml |
823b7a0 to
85c89c2
Compare
What does this change?
Sets this repo up for trusted publishing —
id-tokento the workflow permissions for the job that contains the publish stepHow to test
Run the release process on the branch. The NPM step should succeed.